#!/usr/local/bin/python

# example usage - ./test.py *.wav or python test.py *.wav
from PyCDP.pycdp import *

if __name__ == "__main__":  # python convention, but i think you can leave it out...
    mono = cdp.housekeep.chans(4)
    norm = cdp.modify.loudness(3)

    chain = []
    chain.append(mono)
    chain.append(norm)

    output_files = cdp.run_chain(chain, sys.argv[1:], False)

    print(output_files) # debug!
